package com.hy.study.demo.complexquerydemo.utils;

public enum Operator {
    AND("AND"),
    OR("OR"),
    NOT("NOT"),
    IN("IN"),
    NOT_IN("NOT IN"),
    LIKE("LIKE"),
    NOT_LIKE("NOT LIKE"),
    EQ(StringSymbol.EQUALS),
    NE("<>"),
    GT(StringSymbol.RIGHT_CHEV),
    GE(">="),
    LT(StringSymbol.LEFT_CHEV),
    LE("<="),
    IS_NULL("IS NULL"),
    IS_NOT_NULL("IS NOT NULL"),
    GROUP_BY("GROUP BY"),
    HAVING("HAVING"),
    ORDER_BY("ORDER BY"),
    EXISTS("EXISTS"),
    NOT_EXISTS("NOT EXISTS"),
    BETWEEN("BETWEEN"),
    NOT_BETWEEN("NOT BETWEEN"),
    ASC("ASC"),
    DESC("DESC");
    private String opr;
    public String getOpr(){
        return this.opr;
    }

    Operator(String opr) {
        this.opr = opr;
    }
}
